﻿#If SILVERLIGHT Then
Namespace Web
#End If

Partial Public Class Reserva

    Public ReadOnly Property NombreNits As Integer?
        Get
            If CheckIn.HasValue AndAlso CheckOut.HasValue Then
                Return (CheckOut.Value - CheckIn.Value).Days
            Else
                Return Nothing
            End If
        End Get
    End Property
End Class

#If SILVERLIGHT Then
End Namespace
#End If
